<%@taglib uri="/struts-tags" prefix="s"%>
<html>
	<head>
		<title>Registration</title>
		<s:head theme="ajax"/>
	</head>
	<body>
		<center>
			<h1>Registration</h1>
			<s:actionerror/>
			<s:form action="Register">
			<table width="100%" bgcolor="#c3d599">
			<tr>
			<td>
				<table width="100%">
				<tr><td>
				<s:hidden name="code" value="JLC-99"/>
				<s:label key="Batch Id"/>
				<s:combobox name="batchId" list="{'B16','B17','B18','B19'}" headerKey="-1" headerValue="Select Ur Batch"></s:combobox>
				</td></tr>
				<tr><td>
				<s:label key="Student Id"/>
				<s:textfield name="sid"/>
				</td></tr>
				<tr><td>
				<s:textfield name="fname" label="Full name"/>
				</td></tr>
				<tr><td>
				<s:textfield name="uname" label="User name"/>
				</td></tr>
				<tr><td>
				<s:password name="pword" label="Password"/>
				</td></tr>
				<tr><td>
				<s:textfield name="email" label="Email"/>
				</td></tr>
				<tr><td>
				<s:textfield name="phone" label="Phone"/>
				</td></tr>
				<tr><td>
				<s:radio name="gender" label="Gender" list="#{'male':'Mail','female':'Female'}"></s:radio>
				</td></tr>
				<tr><td>
				<s:datetimepicker name="dob" label="Date Of Birth[dd-mm-yyyy]" displayWeeks="5" displayFormat="dd/MM/yyyy"/>
				</td></tr>
				<tr><td>
				<s:select name="qualification" label="Qualification" list="{'Select','BE/B.Tech','Bsc','ME/M.Tech','Msc','MCA'}" multiple="false"/>
				</td></tr>
				<tr><td>
					<s:select name="courses" label="Courses" list="%{#{'J2SE':'J2SE','J2ME':'J2ME'}}">
					<s:optgroup label="Technologies" list="%{#{'JDBC':'JDBC','JSP':'JSP','Servlets':'Servlets','EJB':'EJB'}}"/>
					<s:optgroup label="Frameworks" list="%{#{'Struts':'Struts','Hibernate':'Hibernate','JSF':'JSF','Spring':'Spring'}}"/>
				</s:select>
				</td></tr>
				<tr><td>
				<s:doubleselect name="timings" label="Timings" list="{'Weekdays','Weekends'}" doubleName="timecourses" doubleList="top == 'Weekdays' ? {'J2SE','J2ME'} : {'Hibernate','Spring','JSF','WebServices','Flex'}"/>
				</td></tr>
				<tr><td>
				<s:checkboxlist name="paymentOption" label="Payment Option" list="{'Cash','Cheque','Card'}"/>
				</td></tr>
				<tr><td>
				<s:autocompleter labelposition="left" showDownArrow="false" name="aboutus" label="How did U know us:" list="{'From Friend','Walkin to JLC','From Internet Surfing','By seeing JLC board'}"/>
				</td></tr>
				</table>
			</td>
			<td><table width="100%">
			<tr><td>
			<s:optiontransferselect name="reqTechsLeft" label="Required Technologies" doubleList="{'Spring','Adobe Flex','XML'}" list="{'Struts','Hibernate','JSF','Web Services','EJB','JPA'}" doubleName="reqTechsRight"/>
			</td></tr>
			<tr><td>
			</td></tr>
			<tr><td>
				<s:updownselect name="learningOrder" list="#{'J2SE':'J2SE','Technologies':'Technologies','Frameworks':'Frameworks'}" headerKey="-1" headerValue="--- Please Order ---" emptyOption="true"/>
			</td></tr>
			<tr><td>
				<s:textarea name="comments" label="comments" cols="15" rows="3"></s:textarea>
			</td></tr>
			<tr><td>
				<s:checkbox name="termsAcceptance" label="I accept the Terms &#38; Conditions of JLC" fieldValue="true"/>
				<s:token name="token"/>
			</td></tr>
			</table>
			</td>
			</tr>
			<tr width="100%">
			<td width="50%">
			<s:submit/>
			</td>
			<td width="50%">
			<s:reset/>
			</td>
			</tr>
</table>
</s:form>
</center>
</body>
</html>